namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// SKU信息
    /// </summary>
    public DbSet<POVLocationOut> VLocationOut { get; set; }
}

/// <summary>
/// SKU信息
/// 表[prod_sku]
/// </summary>
[Table("V_LocationOut")]
public class POVLocationOut
{
    /// <summary>
    /// 主键，通过雪花算法生成
    /// 主键[prod_sku.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    [Column("start_loc")]
    public long? StartLoc { get; set; }
    /// <summary>
    /// 产品条码
    /// [prod_sku.sku_code)]
    /// </summary>
    [Column("product_code")]
    public string ProductCode { get; set; }
    /// <summary>
    /// 规格
    /// [prod_sku.product_count)]
    /// </summary>
    [Column("spec")]
    public string Spec { get; set; }
    /// <summary>
    /// 库位号
    /// [prod_sku.material_id)]
    /// </summary>
    [Column("loc_code")]
    public string LocCode { get; set; }
    /// <summary>
    /// 质量
    /// </summary>
    [Column("gt_status")]
    public string GtStatus { get; set; }
    /// <summary>
    /// 生产日期
    /// [prod_sku.md_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 组盘完成
    /// [prod_sku.is_combined)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 开始位置
    /// [prod_sku.loc_name)]
    /// </summary>
    [Column("loc_name")]
    public string LocName { get; set; }

    /// <summary>
    /// task_no
    /// [prod_sku.task_no)]
    /// </summary>
    [Column("task_no")]
    public int? TaskNo { get; set; }
    /// <summary>
    /// [prod_sku.tire_lock)]
    /// </summary>
    [Column("tire_lock")]
    public int? TireLock { get; set; }
    /// <summary>
    /// [prod_sku.tbm_expiration_time)]
    /// </summary>
    [Column("tbm_expiration_time")]
    public DateTime? TbmExpirationTime { get; set; }

}
